<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Paint</title>
    <style type="text/css"><!--
    #container { position: relative; }
    #imageView { border: 1px solid #000; }
    --></style>
</head>
<body>
<p><label>Drawing tool: <select id="dtool">
    <option value="rect">Rectangle</option>
    <option value="pencil">Pencil</option>
</select></label></p>
<!-- ... -->
<div id="container">
    <canvas id="imageView" width="800" height="600">
        <p>Unfortunately, your browser is currently unsupported by our web
            application.  We are sorry for the inconvenience. Please use one of the
            supported browsers listed below, or draw the image you want using an
            offline tool.</p>
        <p>Supported browsers: <a href="http://www.opera.com">Opera</a>, <a
                href="http://www.mozilla.com">Firefox</a>, <a
                href="http://www.apple.com/safari">Safari</a>, and <a
                href="http://www.konqueror.org">Konqueror</a>.</p>
    </canvas>
</div>

<script type="text/javascript"
        src="canvas.js"></script>
</body>
</html>